package com.ethink.system.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author liu chen xiao
 * @version 1.0.0
 * @ClassName OrganizationAddRequest.java
 * @Description
 * @createTime 2022年09月26日 14:15:00
 */
@Data
public class OrganizationAddRequest {

    @NotNull(message = "组织名称不能为空")
    @Schema(description = "组织名称")
    private String orgName;

    @NotNull(message = "父组织id不能为空")
    @Schema(description = "父组织id")
    private Long parentOrgId;
}
